'use strict'

###*
 # @ngdoc service
 # @name xoceanApp.modules
 # @description
 # # modules
 # Service in the xoceanApp.
###
angular.module('xoceanApp')
  .service 'Module', ->
    modules = [
      {
        title: '导航'
        url: 'module.nav'
        usable: true
        subModules: [
          {
            thumbnail: "images/cms/nav-1.png"
            url: 'module.subNav.1'
          }
          {
            thumbnail: "images/cms/nav-2.png"
            url: 'module.subNav.2'
          }
          {
            thumbnail: "images/cms/nav-3.png"
            url: 'module.subNav.3'
          }
        ]
      }
      {
        title: '图片'
        url: 'module.photoset'
        usable: true
        subModules: [
          {
            thumbnail: "images/cms/photoset-1.png"
            url: 'module.photoset.1'
          }
          {
            thumbnail: "images/cms/photoset-2.png"
            url: 'module.photoset.2'
          }
          {
            thumbnail: "images/cms/photoset-3.png"
            url: 'module.photoset.3'
          }
          {
            thumbnail: "images/cms/photoset-4.png"
            url: 'module.photoset.4'
          }
          {
            thumbnail: "images/thumbnails/photoset-5.png"
            url: 'module.photoset.5'
          }
          {
            thumbnail: "images/cms/photoset-6.jpg"
            url: 'module.photoset.6'
          }
          {
            thumbnail: "images/cms/photoset-7.jpg"
            url: 'module.photoset.7'
          }
          {
            thumbnail: "images/cms/photoset-8.jpg"
            url: 'module.photoset.8'
          }
          {
            thumbnail: "images/cms/photoset-9.png"
            url: 'module.photoset.9'
          }
          {
            thumbnail: "images/cms/photoset-10.png"
            url: 'module.photoset.10'
          }

        ]
      }
      {
        title: '视频'
        url: 'module.vedio'
        usable: true
        subModules:[
          {
            thumbnail: 'images/thumbnails/vedio-1.jpg'
            url: 'module.vedio.1'
          }
        ]
      }
      {
        title: '正文'
        url: 'module.main'
        usable: true
        subModules:[
          {
            thumbnail: "images/thumbnails/main-body-1.jpg"
            url: 'module.main.1'
          }
          {
            thumbnail: "images/thumbnails/main-body-2.jpg"
            url: 'module.main.2'
          }
          {
            thumbnail: "images/thumbnails/main-body-4.jpg"
            url: 'module.main.4'
          }
          {
            thumbnail: "images/thumbnails/main-body-5.jpg"
            url: 'module.main.5'
          }
          {
            thumbnail: "images/thumbnails/main-body-6.jpg"
            url: 'module.main.6'
          }
          {
            thumbnail: "images/thumbnails/main-body-7.jpg"
            url: 'module.main.7'
          }
          {
            thumbnail: "images/thumbnails/main-body-8.jpg"
            url: 'module.main.8'
          }
          {
            thumbnail: "images/thumbnails/main-body-9.jpg"
            url: 'module.main.9'
          }
          {
            thumbnail: "images/thumbnails/main-body-10.jpg"
            url: 'module.main.10'
          }
          {
            thumbnail: "images/thumbnails/main-body-11.jpg"
            url: 'module.main.11'
          }
          {
            thumbnail: "images/thumbnails/main-body-12.jpg"
            url: 'module.main.12'
          }
          {
            thumbnail: "images/thumbnails/main-body-13.png"
            url: 'module.main.13'
          }
          {
            thumbnail: "images/thumbnails/main-body-14.png"
            url: 'module.main.14'
          }
        ]
      }
      {
        title: '右边栏'
        url: 'module.aside'
        usable: false
        subModules: [
          {
            thumbnail: "images/cms/aside-1.jpg"
            url: 'module.aside.1'
          }
          {
            thumbnail: "images/cms/aside-2.jpg"
            url: 'module.aside.2'
          }
          {
            thumbnail: "images/cms/aside-3.jpg"
            url: 'module.aside.3'
          }
          {
            thumbnail: "images/cms/aside-4.jpg"
            url: 'module.aside.4'
          }
          {
            thumbnail: "images/cms/aside-5.jpg"
            url: 'module.aside.5'
          }
          {
            thumbnail: "images/cms/aside-6.jpg"
            url: 'module.aside.6'
          }
          {
            thumbnail: "images/cms/aside-7.jpg"
            url: 'module.aside.7'
          }
          {
            thumbnail: "images/cms/aside-8.jpg"
            url: 'module.aside.8'
          }
          {
            thumbnail: "images/cms/aside-9.jpg"
            url: 'module.aside.9'
          }
          {
            thumbnail: "images/cms/aside-10.png"
            url: 'module.aside.10'
          }
          {
            thumbnail: "images/cms/aside-11.png"
            url: 'module.aside.11'
          }
          {
            thumbnail: "images/cms/aside-12.png"
            url: 'module.aside.12'
          }
        ]
      }
      {
        title: '互动'
        url: 'module.interaction'
        usable: true
      }
      {
        title: '自定义'
        url: 'module.custom'
        usable: true
      }
    ]
    banners = [
      {
        thumbnail: "images/thumbnails/banner1.jpg"
        url: 'module.banner1'
      }
      {
        thumbnail: "images/thumbnails/banner2.jpg"
        url: 'module.banner2'
      }
      {
        thumbnail: "images/thumbnails/banner3.jpg"
        url: 'module.banner3'
      }
      {
        thumbnail: "images/thumbnails/banner4.jpg"
        url: 'module.banner4'
      }
      {
        thumbnail: "images/thumbnails/banner5.jpg"
        url: 'module.banner5'
      }
      {
        thumbnail: "images/thumbnails/banner6.jpg"
        url: 'module.banner6'
      }
      {
        thumbnail: "images/thumbnails/banner7.jpg"
        url: 'module.banner7'
      }
      {
        thumbnail: "images/thumbnails/banner8.jpg"
        url: 'module.banner8'
      }
      {
        thumbnail: "images/thumbnails/banner9.jpg"
        url: 'module.banner9'
      }
      {
        thumbnail: "images/thumbnails/banner10.jpg"
        url: 'module.banner10'
      }
      {
        thumbnail: "images/thumbnails/banner11.jpg"
        url: 'module.banner11'
      }
    ]
    this.getModules = ()->
      return modules
    this.getBanners = ()->
      return banners

    return


